package com.java2207.group1.service;

import com.java2207.group1.bo.DrugStorageBo;
import com.java2207.group1.common.LayuiPageVo;
import com.java2207.group1.controller.DrugStorageController;
import com.java2207.group1.pojo.DrugStorage;
import com.java2207.group1.vo.drugstorage.DrugPieVo;

import java.util.List;
import java.util.Map;

/**
 * Lenovo 2022/7/26 12:07
 * @author Lenovo
 */
public interface DrugStorageService {

    LayuiPageVo<DrugStorage> drugLayuiPageData(Map<String, Object> params);

    int addDrug(DrugStorage drug);

    int deleteDrug(Integer id);

    List<DrugStorageBo> druExcelData(Map<String, Object> params);

    List<DrugPieVo> drugPieData();

    int updateDrug(DrugStorage drug);

    int deleteDrugByIds(String ids);

    int reduceDrug(DrugStorage drugStorage);

    List<DrugStorage> selectAllDrug();

}
